package com.ruoyi.community.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 修改设置申请对象 int_apply
 * 
 * @author ruoyi
 * @date 2021-08-23
 */
public class IntApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 修改申请项 */
    private Long id;

    /** $column.columnComment */
    private Integer communityId;

    /** 设置原值id */
    private Integer setId;

    /** 原值 **/
    @Excel(name = "原值")
    private Integer price;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /* 原值是否启用 */
    @Excel(name = "原值是否启用")
    private Boolean enable;
    /** 修改后的积分值 */
    @Excel(name = "修改后的积分值")
    private Integer expectVal;

    /** 修改后的状态 */
    @Excel(name = "修改后的状态")
    private Boolean expectEnable;

    /** 申请人id */
    @Excel(name = "申请人id")
    private Long applicantId;

    @Excel(name = "申请人姓名")
    private String applicant;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long checkerId;

    /** 1，业委会同意 */
    @Excel(name = "1，业委会同意")
    private Integer owners;

    /** 1，物业同意 */
    @Excel(name = "1，物业同意")
    private Integer management;

    /** 0，保存， 2删除 */
    private String delFlag;

    /** 设置的名称 **/
    private String setNameId;

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getSetNameId() {
        return setNameId;
    }

    public void setSetNameId(String setNameId) {
        this.setNameId = setNameId;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public String getApplicant() {
        return applicant;
    }

    public void setApplicant(String applicant) {
        this.applicant = applicant;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommunityId(Integer communityId) 
    {
        this.communityId = communityId;
    }

    public Integer getCommunityId() 
    {
        return communityId;
    }
    public void setSetId(Integer setId) 
    {
        this.setId = setId;
    }

    public Integer getSetId() 
    {
        return setId;
    }
    public void setExpectVal(Integer expectVal) 
    {
        this.expectVal = expectVal;
    }

    public Integer getExpectVal() 
    {
        return expectVal;
    }
    public void setExpectEnable(Boolean expectEnable)
    {
        this.expectEnable = expectEnable;
    }

    public Boolean getExpectEnable()
    {
        return expectEnable;
    }
    public void setApplicantId(Long applicantId) 
    {
        this.applicantId = applicantId;
    }

    public Long getApplicantId() 
    {
        return applicantId;
    }
    public void setCheckerId(Long checkerId) 
    {
        this.checkerId = checkerId;
    }

    public Long getCheckerId() 
    {
        return checkerId;
    }
    public void setOwners(Integer owners) 
    {
        this.owners = owners;
    }

    public Integer getOwners() 
    {
        return owners;
    }
    public void setManagement(Integer management) 
    {
        this.management = management;
    }

    public Integer getManagement() 
    {
        return management;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("communityId", getCommunityId())
            .append("setId", getSetId())
            .append("expectVal", getExpectVal())
            .append("expectEnable", getExpectEnable())
            .append("applicantId", getApplicantId())
            .append("checkerId", getCheckerId())
            .append("owners", getOwners())
            .append("management", getManagement())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
